<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html><head>
<title>detk</title>
</head><body>
<p>[<a href="mxdoc.htm">mainpage</a>]
[<a href="tags.htm">tags</a>]<br>
<h1><a name="detk">library: detk</a></h1><p><b>Basic gui toolkit functions</b><p>
This library contains a number of data types and functions intended to be
useful for a portable gui library.  
<p>
DETK uses <a href="deds.htm">DEDS</a> library for generic data structures.
<p>
DETK is used by the <a href="depui.htm">DEPUI</a> portable gui library.
 
(<a href="../include/detk/detk.h">../include/detk/detk.h</a>)<h2>modules:</h2><ul><li><a href="
detk_bitfield.htm">bitfield</a> 
Portable bitfields</li>
<li><a href="
detk_default.htm">default</a> 
Default values</li>
<li><a href="
detk_drs.htm">drs</a> 
Dirty rectangle updating system</li>
<li><a href="
detk_file.htm">file</a> 
Some simple file oriented functions</li>
<li><a href="
detk_region.htm">region</a> 
</li>
<li><a href="
detk_utf8.htm">utf8</a> 
Simple UTF-8 character handling functions</li>
</ul><h2>documented objects:</h2><ul><li><a href="detk_bitfield.htm#define MX_BITFIELD(a)">#define MX_BITFIELD(a)</a>
Portable bitfield</li>
<li><a href="detk_default.htm#define MXDEFAULT">#define MXDEFAULT</a>
Default integer value</li>
<li><a href="detk_drs.htm#typedef void (*MX_FLUSH_FUNC) (MX_RECT* rect);">typedef void (*MX_FLUSH_FUNC) (MX_RECT* rect);</a>
Flush callback function for dirty rectangle updating</li>
<li><a href="detk_drs.htm#void mx_drs_area(int w, int h)">void mx_drs_area(int w, int h)</a>
Initialize dirty-rectangle system</li>
<li><a href="detk_drs.htm#unsigned mx_drs_dirtychanged(void)">unsigned mx_drs_dirtychanged(void)</a>
Return if parts of the screen need updating</li>
<li><a href="detk_drs.htm#unsigned mx_drs_update(MX_FLUSH_FUNC dflush)">unsigned mx_drs_update(MX_FLUSH_FUNC dflush)</a>
Call the flush function with the parts of the screen needing updating</li>
<li><a href="detk_drs.htm#void mx_drs_dirty(const MX_RECT* rrect, unsigned mark)">void mx_drs_dirty(const MX_RECT* rrect, unsigned mark)</a>
Mark a portion of the screen as needing updating</li>
<li><a href="detk_file.htm#const char* mx_basename(const char* fname)">const char* mx_basename(const char* fname)</a>
</li>
<li><a href="detk_file.htm#int mx_fgetw(FILE* f)">int mx_fgetw(FILE* f)</a>
</li>
<li><a href="detk_file.htm#unsigned mx_filename_match(const char* p, const char* t)">unsigned mx_filename_match(const char* p, const char* t)</a>
</li>
<li><a href="detk_file.htm#void mx_path_fix(char* ptr)">void mx_path_fix(char* ptr)</a>
</li>
<li><a href="detk_region.htm#typedef MX_VECTOR(MX_RECT) MX_REGION;">typedef MX_VECTOR(MX_RECT) MX_REGION;</a>
</li>
<li><a href="detk_region.htm#void mx_region_clip(MX_REGION* region, const MX_RECT* therect)">void mx_region_clip(MX_REGION* region, const MX_RECT* therect)</a>
</li>
<li><a href="detk_utf8.htm#unsigned int mx_utf8_len(const char* s)">unsigned int mx_utf8_len(const char* s)</a>
Return number of characters in a UTF-8 encoded character</li>
<li><a href="detk_utf8.htm#long mx_utf8_char(const char* s, unsigned int len)">long mx_utf8_char(const char* s, unsigned int len)</a>
Read a UTF-8 character</li>
</ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb  4 15:16:27 2007


</body></html>
